# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(RepereObiecteInventar)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Repere_SRCS repereplugin.cpp repere.cpp)
QT4_WRAP_CPP(Repere_SRCS repereplugin.h repere.h)
QT4_WRAP_UI(Repere_SRCS repere.ui)
QT4_ADD_RESOURCES(Repere_SRCS repere.qrc)

add_library(RepereObiecteInventar SHARED ${Repere_SRCS})
add_dependencies(RepereObiecteInventar KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(RepereObiecteInventar KontAMabil ${QT_LIBRARIES})

install(TARGETS RepereObiecteInventar ${INSTALL_PLUGINS_DEFAULT_ARGS})
